<?php


namespace app\lib\api;


class NoticeValidate extends BaseValidate
{

    protected $rule = [
        'page' => 'require|isPositiveInteger',
        'type' => 'require|in:1,2'

    ];

    protected $message = [
        'page' => 'page必须是正整数',
        'type' => '参数不正确'
    ];

}